﻿@using ClassBLL
@using ClassModel
@using ClassCommon



@{
    Layout = null;

    t_class_attachment_info info;
    int userid = HttpCookieHelper.GetUserID();
    if (userid == -1) { info = null; }
    else
    {
        info = t_class_attachment_info_BLL.GetAttachmentByUserId(userid);
    }


    string requestURL = this.Request.Url.ToString();
}


<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>云校排课 - 让天下没有难排的课表</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta name="keywords" content="云校排课,免费排课,排课软件,排课网站">
    <link href="/Static/Template/css/bootstrap.min.css" rel="stylesheet">
    <link href="/Static/Template/css/common.css" rel="stylesheet">
    <link rel="icon" href="http://paike.yunxiao.com/static/img/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="http://paike.yunxiao.com/static/img/favicon.ico">
    <script src="/Static/Template/js/hm.js"></script>
    <script type="text/javascript" src="/Static/Template/js/jquery-1.9.1.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="/Static/Template/js/broswercheck.js"></script>
    <script type="text/javascript" src="/Static/Template/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/Static/Template/js/common.js"></script>
    <script type="text/javascript" src="/Static/Template/js/jsExtensionUtil.js"></script>
    <script src="/Static/Template/js/user-info.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body class="">

    <!-- 当前页面头部的一些配置 -->
    @RenderSection("headerPartial", false)
    <!-- 公用头部 -->
    <div id="wrap">
        <div id="header">
            <div class="navbar navbar-inverse navbar-top" style="border-top: none; border-bottom-width: 2px; border-bottom-color: #03a2ce; border-left: none; border-right: none">
                <div class="container">
                    <ul class="nav nav-pills pull-right">
                        <li class="topbar-right-item">
                            <div id="label_school_name" class="first common" title="点此修改用户名和QQ" onclick="loadInputTable()" style="visibility: visible;">学校: @(info != null ? info.SchoolName : "未设置")</div>
                        </li>
                        <li class="topbar-right-item">
                            <div class="common" title="点此修改密码和验证邮箱">欢迎您，@ViewBag.CurrentUser.userAccount</div>
                        </li>
                        <li class="topbar-right-item">
                            <div class="common" onclick="goUrl(&#39;/home/logout&#39;)" title="点此退出">退出</div>
                        </li>
                    </ul>

                    <div class="muted row" style="padding-top: 20px;">
                        <div class="logo col-md-1" style="width: 144px">
                            <a href="/Home">
                                <img src="/Static/NewIndex/images/logo2.png" style="height: 36px; width: 144px;" alt="第三女神排课logo">
                            </a>
                        </div>
                    </div>
                </div>


            </div>
            @if (requestURL.Contains("OperatorClassDetail"))
            { 
                @Html.Partial("_navi");
            }
        </div>
    </div>


    @RenderBody()



    <!-- 公用尾部 -->
    <div id="footer" class="footer">
        <div class="footer-inner container">
            <a class="footer-link" href="http://paike.yunxiao.com/about" target="_self">关于云校排课</a>
            <a class="footer-link" href="http://paike.yunxiao.com/help" target="_self" style="margin-left: 6px">使用技巧</a>

            <p>
                © 2014
               
                <a href="http://www.yunxiao.com/">Yunxiao Inc.</a> All rights reserved.云校出品
            </p>
        </div>
    </div>

    <script src="/Static/Template/js/autoHeight.js"></script>
</body>

</html>

@RenderSection("scripts", false);
